package com.xiongwei.observer;

/**
 * @author XiongWei
 * @date 2024/2/1
 */
public abstract class Observer {

    /**
     * 更新
     */
    public abstract void update(float temperature, float humidity, float pressure);

    public abstract void display();
}
